﻿#pragma once
#include "EditEntry.h"

class CursorEditEntry : public EditEntry {
    Q_OBJECT
public:
    explicit CursorEditEntry(QWidget *parent = nullptr);
    ~CursorEditEntry();
    void setValue(const QCursor &value);
    QCursor value() const;
signals:
    void valueChanged(const QCursor &value);

private:
    void initUi();

private:
    struct CursorEditEntryPrivate;
    QScopedPointer<CursorEditEntryPrivate> p;
};

